[ADM 7] Restore Insert/Delete and canvas DnD - #212
Merged
Conversation
artiphishle
marked this pull request as ready for review
August 11, 2026 01:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NodePlacementmodel, with structured validation for invalid references, root/self/descendant moves, and no-op placements@ankhorage/react-native-reanimated-dnd-webdirectly, with a 48-point handle, measured ghost, Runtime-backed targets, invalid-zone feedback, and deterministic adapter-session remounts after drop or cancellation@ankhorage/studio/dnd*wrappers, directional tree mutation APIs, and their stale generated sequence artifactWhy
ADM 7 needs Insert, Delete, and canvas movement to use the same manifest-driven authoring primitives as generated Ankhorage apps. The previous directional and wrapper APIs duplicated placement behavior and kept Studio farther from the normal Runtime/ZORA application model.
Impact
Studio now injects the generated app's component metadata, persists authoring operations through one canonical placement path, and composes the maintained cross-platform DnD adapter directly. Package-neutral placement and drag-session helpers remain independent of React, ZORA implementations, and host persistence.
Validation
bun run buildbun run lint:fixbun run test— 496 passed, 3 conditional skipsbun run knipbun run typecheckbun run format:checkbun run docsbun run changeset:statusbun run test:smoke:studio-web— 1 passed, 54 assertionsbun run test:e2e:generated-app-web— 7 passed, 297 assertionsCloses #122